Skip to content

moving failed format tests into their own file#1455

Merged
Janther merged 1 commit intomainfrom
tests-update-step-2
Mar 14, 2026
Merged

moving failed format tests into their own file#1455
Janther merged 1 commit intomainfrom
tests-update-step-2

Conversation

@Janther
Copy link
Copy Markdown
Member

@Janther Janther commented Mar 12, 2026

following prettier file structure for their tests, tests/config/run-format-test.js will slowly get smaller as it currently has a lot of different responsibilities.
I decided to do this in smaller reviewable chunks.

Here we move the 3 functions that help decide whether to run or not the second format, AST comparison, and ANTLR format tests to it's own file, making the readability of tests/config/run-format-test.js already much easier.

notice how there is a utils folder and a utilities.js file. Prettier's tests don't have a utils folder anymore but we are making the migration step by step.

@Janther Janther requested a review from fvictorio March 12, 2026 13:36
@Janther Janther changed the title moving failed format tests into it's own file moving failed format tests into their own file Mar 12, 2026
@Janther Janther merged commit bc9a584 into main Mar 14, 2026
7 checks passed
@Janther Janther deleted the tests-update-step-2 branch March 14, 2026 12:29
@Janther Janther mentioned this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants